#include"MyThread.hpp"

void* Run(void*args)
{
   while(true)
   {
    cout << "I am new thread" << endl;
    sleep(1);
   }
}
int main()
{
  Thread t(Run);

  while(true)
  {
    cout << "I am main thread" << endl;
    sleep(1);
  }
  t.join();
    return 0;
}